import Vue from 'vue'
import Router from 'vue-router'
import Login from '@/views/login'
import Home from '@/views/layout/home'

Vue.use(Router)

export default new Router({
  routes: [
    { path: '/', redirect: '/login' },
    { path: '', redirect: '/login' },
    { path: '/login', name: 'Login', component: Login },
    { path: '/Home', name: 'Home', component: Home }
  ]
})
